package com.qk.management.mapper;

import com.qk.domain.user.UserDO;
import com.qk.dto.user.UserDTO;
import com.qk.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    List<UserDO> selectByPage(UserDTO userDTO);

    void insert(User user);

    void update(User user);

    User selectUserById(Integer id);

    void deleteUser(List<Integer> ids);

    User selectUserByName(String username);

    List<User> selectAll();

    List<User> selectByRoleLabel(String roleLabel);
}
